<h1>Product Transfer Information</h1>
<p align="right"><a href="<?php echo site_url('product/transfer/trasfer_product');?>">Add Transfer</a></p>
<!--<div id="infoMessage"><?php echo $message;?></div>-->

<table class="table table-striped table-bordered" width="100%" id="example">
	<thead>
    <tr>
		<th>Product Details</th>
		<th>Transfer Quantity</th>
		<th>Source Branch</th>
		<th>Destination Branch</th>
		<th>Transfer Date</th>
	</tr>
    </thead>
	<?php foreach ($transfers as $transfer):?>
		<tr>
			<td><?php echo $transfer->product_name;?></td>
			<td><?php echo $transfer->quantity;?></td>
			<td><?php echo $this->transfer_model->get_branch_name($transfer->source_branch);?></td>
			<td><?php echo $this->transfer_model->get_branch_name($transfer->destination_branch);?></td>
			<td><?php echo $transfer->date;?></td>
		</tr>
	<?php endforeach;?>
</table>

<!--<p><a href="<?php echo site_url('auth/create_user');?>">Create a new user</a> | <a href="<?php echo site_url('auth/create_group');?>">Create a new group</a>
<a href="<?php echo site_url('auth/logout');?>">Logout</a>
</p>-->
